home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / tracer / trcproto.h < prev    next >
C/C++ Source or Header  |  1997-07-22  |  8KB  |  294 lines

  1.  
  2. /* $Id: trcproto.h,v 4.3 1997/05/22 18:23:58 pvmsrc Exp $ */
  3.  
  4. /*
  5.  *         Tracer version 1.0:  A Trace File Generator for PVM
  6.  *           Oak Ridge National Laboratory, Oak Ridge TN.
  7.  *           Authors:  James Arthur Kohl and G. A. Geist
  8.  *                   (C) 1994 All Rights Reserved
  9.  *
  10.  *                              NOTICE
  11.  *
  12.  * Permission to use, copy, modify, and distribute this software and
  13.  * its documentation for any purpose and without fee is hereby granted
  14.  * provided that the above copyright notice appear in all copies and
  15.  * that both the copyright notice and this permission notice appear
  16.  * in supporting documentation.
  17.  *
  18.  * Neither the Institution, Oak Ridge National Laboratory, nor the
  19.  * Authors make any representations about the suitability of this
  20.  * software for any purpose.  This software is provided ``as is''
  21.  * without express or implied warranty.
  22.  *
  23.  * Tracer was funded by the U.S. Department of Energy.
  24.  */
  25.  
  26.  
  27. /* Tracer Library Routine Prototypes */
  28.  
  29.  
  30. TRC_TRIE        trc_create_triestack __ProtoGlarp__(( void ));
  31.  
  32.  
  33. void            *trc_lookup_trie __ProtoGlarp__(( TRC_TRIE, char * ));
  34.  
  35.  
  36. TRC_DID            trc_create_did __ProtoGlarp__(( void ));
  37. TRC_DID            trc_get_did __ProtoGlarp__(( TRC_HOST, int ));
  38.  
  39.  
  40. TRC_ID            trc_create_tracer_id __ProtoGlarp__(( void ));
  41. TRC_ID            trc_get_tracer_id __ProtoGlarp__(( void ));
  42.  
  43.  
  44. TRC_DATADESC    trc_create_datadesc __ProtoGlarp__(( void ));
  45.  
  46.  
  47. TRC_TEVDESC_INFO    trc_create_tevdesc_info __ProtoGlarp__(( void ));
  48.  
  49.  
  50. TRC_TEVDESC        trc_create_tevdesc __ProtoGlarp__(( void ));
  51.  
  52. TRC_TEVDESC        trc_get_tevdesc __ProtoGlarp__(( TRC_TEVTASK,
  53.                     TRC_HOST, int, int ));
  54.  
  55. TRC_TEVDESC        trc_make_tevdesc __ProtoGlarp__(( TRC_ID,
  56.                     int, int, char *, TRC_TEVDESC_INFO, int ));
  57.  
  58. TRC_TEVDESC        trc_read_descriptor __ProtoGlarp__(( TRC_ID,
  59.                     int, char *, int, int ));
  60.  
  61.  
  62. TRC_TEVREC        trc_create_tevrec __ProtoGlarp__(( void ));
  63. TRC_TEVREC        trc_get_tevrec __ProtoGlarp__(( TRC_TEVREC, char * ));
  64.  
  65.  
  66. TRC_VALUE        trc_make_value __ProtoGlarp__(( int, int ));
  67. TRC_VALUE        trc_copy_value __ProtoGlarp__(( TRC_VALUE, int, int ));
  68.  
  69.  
  70. TRC_TEVTASK        trc_create_tevtask __ProtoGlarp__(( void ));
  71. TRC_TEVTASK        trc_get_tevtask_tid __ProtoGlarp__(( TRC_ID, int ));
  72.  
  73.  
  74. TRC_HOST        trc_create_host __ProtoGlarp__(( void ));
  75. TRC_HOST        trc_get_host_name __ProtoGlarp__(( char * ));
  76. TRC_HOST        trc_get_host_tid __ProtoGlarp__(( int ));
  77. TRC_HOST        trc_get_host_tid_last __ProtoGlarp__(( int,
  78.                     TRC_HOST * ));
  79.  
  80.  
  81. void            trc_check_for_dead_host __ProtoGlarp__(( TRC_ID,
  82.                     TRC_TEVTASK ));
  83.  
  84. void            trc_check_listsize __ProtoGlarp__(( void ***, int *,
  85.                     int ));
  86.  
  87. void            trc_cleanup_dead_hosts __ProtoGlarp__(( void ));
  88.  
  89. void            trc_define_special_descriptors __ProtoGlarp__(( void ));
  90.  
  91. void            trc_dump_old_pvm_event_fmt __ProtoGlarp__(( TRC_ID,
  92.                     int ));
  93.  
  94. void            trc_dump_old_sddf_headers __ProtoGlarp__(( void ));
  95.  
  96. void            trc_dump_tevdesc __ProtoGlarp__(( TRC_ID,
  97.                     TRC_TEVDESC, int ));
  98.  
  99. void            trc_dump_trace_header __ProtoGlarp__(( TRC_ID ));
  100.  
  101. void            trc_dump_trace_str __ProtoGlarp__(( TRC_ID,
  102.                     char *, int ));
  103.  
  104. void            trc_end_trace __ProtoGlarp__(( TRC_ID ));
  105.  
  106. void            trc_free_datadesc __ProtoGlarp__(( TRC_DATADESC * ));
  107.  
  108. void            trc_free_did __ProtoGlarp__(( TRC_DID * ));
  109.  
  110. void            trc_free_event_descriptors __ProtoGlarp__(( TRC_TRIE ));
  111.  
  112. void            trc_free_host __ProtoGlarp__(( TRC_HOST * ));
  113.  
  114. void            trc_free_tevdesc_info __ProtoGlarp__((
  115.                     TRC_TEVDESC_INFO * ));
  116.  
  117. void            trc_free_tevrec __ProtoGlarp__(( TRC_TEVREC * ));
  118.  
  119. void            trc_free_tevtask __ProtoGlarp__(( TRC_TEVTASK * ));
  120.  
  121. void            trc_free_tevtask_list __ProtoGlarp__(( TRC_TEVTASK * ));
  122.  
  123. void            trc_free_tracer_id __ProtoGlarp__(( TRC_ID * ));
  124.  
  125. void            trc_free_triestack __ProtoGlarp__(( TRC_TRIE * ));
  126.  
  127. void            trc_init_did_trie __ProtoGlarp__(( void ));
  128.  
  129. void            trc_init_old_events __ProtoGlarp__(( void ));
  130.  
  131. void            trc_initialize_hosts __ProtoGlarp__(( TRC_ID ));
  132.  
  133. void            trc_memcheck __ProtoGlarp__(( void *, char * ));
  134.  
  135. void            trc_print_tmask __ProtoGlarp__(( Pvmtmask ));
  136.  
  137. void            trc_remove_tevdesc __ProtoGlarp__(( TRC_TEVDESC *,
  138.                     int ));
  139.  
  140. void            trc_reset_old_descriptors __ProtoGlarp__(( void ));
  141.  
  142. void            trc_set_didlist __ProtoGlarp__(( TRC_HOST, TRC_DID ));
  143.  
  144. void            trc_set_tevlist __ProtoGlarp__(( TRC_TEVTASK,
  145.                     TRC_HOST, TRC_TEVDESC ));
  146.  
  147. void            trc_set_tracing_codes __ProtoGlarp__(( TRC_ID ));
  148.  
  149. void            trc_status_msg __ProtoGlarp__(( TRC_ID, char * ));
  150.  
  151. void            trc_store_data_values __ProtoGlarp__(( TRC_ID,
  152.                     TRC_TEVDESC, int, int ));
  153.  
  154. void            trc_store_event_header __ProtoGlarp__(( TRC_ID,
  155.                     TRC_TEVDESC, int ));
  156.  
  157. void            trc_task_output __ProtoGlarp__(( TRC_ID,
  158.                     int, char * ));
  159.  
  160. void            trc_tracer_init __ProtoGlarp__(( void ));
  161.  
  162. void            trc_update_trace_time __ProtoGlarp__(( int, int ));
  163.  
  164. void            trc_write_host_add_event __ProtoGlarp__(( TRC_ID,
  165.                     TRC_HOST ));
  166.  
  167. void            trc_write_host_del_event __ProtoGlarp__(( TRC_ID,
  168.                     TRC_HOST, int ));
  169.  
  170. void            trc_write_host_sync_event __ProtoGlarp__(( TRC_ID,
  171.                     TRC_HOST ));
  172.  
  173. void            trc_write_old_host_add_event __ProtoGlarp__(( TRC_ID,
  174.                     TRC_HOST ));
  175.  
  176. void            trc_write_old_host_del_event __ProtoGlarp__(( TRC_ID,
  177.                     TRC_HOST, int ));
  178.  
  179. void            trc_write_old_host_sync_event __ProtoGlarp__(( TRC_ID,
  180.                     TRC_HOST ));
  181.  
  182. void            trc_write_old_output_event __ProtoGlarp__(( TRC_ID,
  183.                     int, char * ));
  184.  
  185. void            trc_write_output_event __ProtoGlarp__(( TRC_ID,
  186.                     int, char * ));
  187.  
  188.  
  189. char            *trc_old_pvm_event_string __ProtoGlarp__(( TRC_ID,
  190.                     int ));
  191.  
  192. char            *trc_host_alias_str __ProtoGlarp__(( char * ));
  193.  
  194. char            *trc_tevrec_string __ProtoGlarp__(( TRC_TEVDESC,
  195.                     TRC_TEVREC, int, int, int ));
  196.  
  197. char            *trc_copy_str __ProtoGlarp__(( char * ));
  198.  
  199. char            *trc_date_str __ProtoGlarp__(( void ));
  200.  
  201. char            *trc_pad_num __ProtoGlarp__(( long, long ));
  202.  
  203.  
  204. int                trc_add_tevdesc __ProtoGlarp__(( TRC_ID,
  205.                     TRC_TEVDESC *, int, int ));
  206.  
  207. int                trc_add_to_trie __ProtoGlarp__(( TRC_TRIE,
  208.                     char *, void * ));
  209.  
  210. int                trc_append_str __ProtoGlarp__(( char *, char *, int ));
  211.  
  212. int                trc_check_host_sync __ProtoGlarp__(( TRC_ID ));
  213.  
  214. int                trc_cmp_datadesc __ProtoGlarp__(( TRC_DATADESC,
  215.                     TRC_DATADESC ));
  216.  
  217. int                trc_cmp_did __ProtoGlarp__(( TRC_DID, TRC_DID ));
  218.  
  219. int                trc_cmp_tevdesc __ProtoGlarp__(( TRC_TEVDESC,
  220.                     TRC_TEVDESC ));
  221.  
  222. int                trc_compare __ProtoGlarp__(( char *, char * ));
  223.  
  224. int                trc_do_host_sync __ProtoGlarp__(( TRC_ID,
  225.                     TRC_HOST, int ));
  226.  
  227. int                trc_filecheck __ProtoGlarp__(( FILE *, char * ));
  228.  
  229. int                trc_find_event_end_ret __ProtoGlarp__(( TRC_ID,
  230.                     char *, int ));
  231.  
  232. int                trc_find_event_str_ret __ProtoGlarp__(( TRC_ID,
  233.                     char *, char *, int ));
  234.  
  235. int                trc_find_event_end __ProtoGlarp__(( TRC_ID ));
  236.  
  237. int                trc_find_event_str __ProtoGlarp__(( TRC_ID, char * ));
  238.  
  239. int                trc_free_tevdesc __ProtoGlarp__(( TRC_TEVDESC * ));
  240.  
  241. int                trc_get_dt_str __ProtoGlarp__(( char * ));
  242.  
  243. int                trc_get_msg __ProtoGlarp__(( TRC_ID,
  244.                     int *, int *, int *, int * ));
  245.  
  246. int                trc_handle_host_add_notify __ProtoGlarp__(( TRC_ID,
  247.                     int *, int ));
  248.  
  249. int                trc_handle_host_del_notify __ProtoGlarp__(( TRC_ID,
  250.                     int ));
  251.  
  252. int                trc_handle_output_message __ProtoGlarp__(( TRC_ID ));
  253.  
  254. int                trc_handle_trace_message __ProtoGlarp__(( TRC_ID,
  255.                     int ));
  256.  
  257. int                trc_open_output_file __ProtoGlarp__(( TRC_ID ));
  258.  
  259. int                trc_process_old_trace_event __ProtoGlarp__(( TRC_ID,
  260.                     char * ));
  261.  
  262. int                trc_process_trace_event __ProtoGlarp__(( TRC_ID,
  263.                     char *, int, int ));
  264.  
  265. int                trc_read_trace_event __ProtoGlarp__(( TRC_ID, int * ));
  266.  
  267. int                trc_read_old_trace_str __ProtoGlarp__(( TRC_ID,
  268.                     char *, int, int ));
  269.  
  270. int                trc_recv_messages __ProtoGlarp__(( TRC_ID,
  271.                     int, int * ));
  272.  
  273. int                trc_reset_trace_file __ProtoGlarp__(( TRC_ID ));
  274.  
  275. int                trc_save_host_status_events __ProtoGlarp__(( TRC_ID ));
  276.  
  277. int                trc_set_output_file __ProtoGlarp__(( TRC_ID, char * ));
  278.  
  279. int                trc_set_trace_file __ProtoGlarp__(( TRC_ID, char * ));
  280.  
  281. int                trc_store_old_trace_event __ProtoGlarp__(( TRC_ID,
  282.                     int, int, int, int ));
  283.  
  284. int                trc_store_trace_event __ProtoGlarp__(( TRC_ID,
  285.                     TRC_TEVDESC, int, int ));
  286.  
  287. int                trc_tevtasks_alive __ProtoGlarp__(( TRC_ID ));
  288.  
  289. int                trc_tevtasks_dead __ProtoGlarp__(( TRC_ID ));
  290.  
  291. int                trc_update_host __ProtoGlarp__(( TRC_HOST *,
  292.                     struct pvmhostinfo *, int, int ));
  293.  
  294.